package com.helloapp.entity;

public class Add {

	private Integer shuju1;
	private Integer shuju2;
	
	private Integer sum;

	public Integer getSum() {
		return shuju1 + shuju2;
	}

	public void setSum(Integer sum) {
		this.sum = sum;
	}

	public Integer getShuju1() {
		return shuju1;
	}

	public void setShuju1(Integer shuju1) {
		System.out.println("shuju1 = " + shuju1);
		this.shuju1 = shuju1;
	}

	public Integer getShuju2() {
		System.out.println("shuju2 = " + shuju2);
		return shuju2;
	}

	public Add() {
		super();
		// TODO Auto-generated constructor stub
	}

	public void setShuju2(Integer shuju2) {
		this.shuju2 = shuju2;
	}
}
